Tourfic\Classes\Apartment\Pricing D

Total Complexity 144
Dependencies 5
Dependents 9
Total lines 400
Lines of code 293
Logical lines of code 176
Comment lines 11
Methods 26
Properties 17

Methods 26

Method Rating Maintainability Complexity Lines of code
get_min_max_price_from_all_apartment()
B
40 24 53
get_min_max_price()
B
49 18 26
set_apartment_price()
A
46 16 34
set_additional_fees()
A
49 13 30
set_dates()
A
54 11 17
set_total_price()
S
54 7 21
get_min_price()
S
58 6 14
get_availability()
S
59 6 12
get_min_price_html()
S
58 4 15
get_discount()
S
63 5 9
calculate_discount()
S
62 4 11
set_persons()
S
66 4 8
get_child_price()
S
79 2 3
get_infant_sale_price()
S
79 2 3
get_infant_price()
S
79 2 3
get_child_sale_price()
S
79 2 3
get_apartment_price()
S
79 2 3
get_adult_sale_price()
S
79 2 3
get_adult_price()
S
79 2 3
get_total_price_html()
S
78 2 3
get_total_price()
S
79 2 3
get_days()
S
79 2 3
get_persons()
S
79 2 3
get_fees()
S
79 2 3
__construct()
S
75 1 4
instance()
S
80 1 3